package com.mapfinal.server;

public class MapfinalServerConsts {

	// 全局token
	public final static String SERVER_TOKEN = "mapfinal-server-token";
	// 过期时间，单位秒
	public final static int TOKEN_SECONDS = 7200;//2*60*60;2小时
	// 客户端token
	public final static String CLIENT_TOKEN = "mapfinal-client-token";
	
	// 注册的节点信息
	public final static String REGISTRY_NODE = "mapfinal-registry-node";
	
	public final static String ATTR_TEMPLATE_PATH = "TPATH";
	
	public static final String OSS = "oss";
	public static final String DISK = "disk";
	public static final String SQLITE = "sqlite";
	public static final String POSTGIS = "postgis";
	
	public final static int DATASTORE_SHP = 1;
	public final static int DATASTORE_POSTGIS = 2;
	
}
